package com.aqie.appletserver.service;

import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface IUploadService {
    final String fileName = "file";

    public Map<String,String> uploadFile(HttpServletRequest request) throws Exception;

    public Map<String,String> uploadAudio(HttpServletRequest request,
                                          @RequestParam(fileName) MultipartFile files);
}
